package com.xxg.renrenproduct.dao;

import com.xxg.renrencommon.domain.dao.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * RenrenShopGoodsCategoryMapDao继承基类
 */
@Mapper
@Repository
public interface RenrenShopGoodsCategoryMapDao extends BaseMapper<RenrenShopGoodsCategoryMap, Integer> {
    @Delete("DELETE FROM renren_shop_goods_category_map WHERE goods_id = #{goodsId,jdbcType=INTEGER}")
    void deleteByGoodsId(Integer goodsId);
}